<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('dbequipment/equipforge/flexigrid') ?>',
                    colModel: [
                        {display: '<?= translate('ID') ?>', name: '_id', width: '120', process: formatSearch},
						{display: '<?= translate('DBEQUIPMENT_CURID') ?>', name: 'curid', width: '100', process: formatSearch},
                        {display: '<?= translate('DBEQUIPMENT_CURCHAPTER') ?>', name: 'curchapter', width: '100', process: formatSearch},
                        {display: '<?= translate('DBEQUIPMENT_CHAPTER') ?>', name: 'chapter', width: '100'},
                        {display: '<?= translate('DBEQUIPMENT_STAR_AWARD') ?>', name: 'staraward', width: '100'},
                        {display: '<?= translate('DBEQUIPMENT_SCENE_AWARD') ?>', name: 'sceneaward', width: '100'},
                        {display: '<?= translate('DBEQUIPMENT_COPY_ID') ?>', name: 'id', width: '100'},
                        {display: '<?= translate('DBEQUIPMENT_TIMES') ?>', name: 'times', width: '100'},
                        {display: '<?= translate('DBEQUIPMENT_RESETCNT') ?>', name: 'resetcnt', width: '100'},
                        {display: '<?= translate('DBEQUIPMENT_STARNUM') ?>', name: 'starnum', width: '100'},
                        {display: '<?= translate('DBEQUIPMENT_LASTINVADETIME') ?>', name: 'lastinvadetime', width: '200'},
                        {display: '<?= translate('DBEQUIPMENT_RESETDAY') ?>', name: 'resetday', width: '150'}
						<!-- 管理信息 -->
                        <!-- {display: '<?= translate('MANAGE') ?>', name: 'id', width: '150', sortable: false, process: formatOp}, -->
                    ],
                    buttons: [
                        {name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},
                       // {name: 'delete', displayname: "<?= translate('DEL') ?>", title: "<?= translate('DEL') ?>", bclass: 'delete'},
                    ],
                    <!-- searchitems: [{display: '<?= translate('ROLE_NAME') ?>', name: 'B.name'}], -->
                }));
                SG.admin = $.extend(SG.admin, {
                    del_url: '<?= site_url("message/bag/del/") ?>',
                });
            });
        </script>
    </body>
</html>